package com.lmx.repoDomain.tmodel;

import java.util.List;
import javax.persistence.Column;
import io.katharsis.resource.annotations.JsonApiResource;
import io.katharsis.resource.annotations.JsonApiToMany;

/**
 * 用于查询老用餐计划
 * 
 * @author huibati 2017年9月25日
 */
@JsonApiResource(type = "foodplan")
public class FoodPlan extends BaseEntity {

	private String remark;// 备注

	private List<CustomerFoodPlan> plans;// 所对应用餐计划详情

	private List<Food> zaoFoods;// 早餐菜谱

	private List<Food> zhongFoods;// 中餐菜谱

	private List<Food> wanFoods;// 晚餐菜谱

	@JsonApiToMany
	public List<Food> getZaoFoods() {
		return zaoFoods;
	}

	public void setZaoFoods(List<Food> zaoFoods) {
		this.zaoFoods = zaoFoods;
	}

	@JsonApiToMany
	public List<Food> getZhongFoods() {
		return zhongFoods;
	}

	public void setZhongFoods(List<Food> zhongFoods) {
		this.zhongFoods = zhongFoods;
	}

	@JsonApiToMany
	public List<Food> getWanFoods() {
		return wanFoods;
	}

	public void setWanFoods(List<Food> wanFoods) {
		this.wanFoods = wanFoods;
	}

	@JsonApiToMany
	public List<CustomerFoodPlan> getPlans() {
		return plans;
	}

	public void setPlans(List<CustomerFoodPlan> plans) {
		this.plans = plans;
	}

	public FoodPlan() {
	}

	@Column(name = "remark")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
